package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Auther: chao
 * @Date:2021/7/7-07-07-14:42
 * @Description:com.atguigu.yygh.hosp.service
 * @version:1.0
 */
public interface HospitalService  {

    //上传医院接口
    void save(Map<String, Object> paramMap);
    //查询医院接口
    Hospital getByHoscode(String hoscode);

    Page selectHospPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> getHospById(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHosName(String hosname);

    Object item(String hoscode);
}
